package com.qdlc.p2p.biz.service.activity;

import com.qdlc.p2p.dal.dto.User;


/**
 * 活动方案参数，用户每个活动方案传递参数，该类可以被子类扩展实现
 * @author linya
 */
public class ActivityProgrammeParam {
    
	/**
     * 活动环节
     */
    private ActivityPlanEnum activityPlan;
    
    /**
     * 规则类型
     */
    private int ruleType;
    
    /**
     * 规则id
     */
    private long ruleId;
    
    /**
     * 关联的用户
     */
    private User user;
    
    /**
     * 附件对象，可以附带规则对象到参数中
     */
    private Object attatchmentObject;
    

	public ActivityPlanEnum getActivityPlan() {
		return activityPlan;
	}

	public void setActivityPlan(ActivityPlanEnum activityPlan) {
		this.activityPlan = activityPlan;
	}

	public int getRuleType() {
		return ruleType;
	}

	public void setRuleType(int ruleType) {
		this.ruleType = ruleType;
	}

	public long getRuleId() {
		return ruleId;
	}

	public void setRuleId(long ruleId) {
		this.ruleId = ruleId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Object getAttatchmentObject() {
		return attatchmentObject;
	}

	public void setAttatchmentObject(Object attatchmentObject) {
		this.attatchmentObject = attatchmentObject;
	}
    
}
